package com.jesper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jesper.model.Delivery;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DeliveryMapper extends BaseMapper<Delivery> {
    @Delete("delete from kuaidi100_delivery where delivery_name = #{deliveryName,jdbcType=VARCHAR}")
    void deleteByName(String deliveryName);
}